package com.cnciems.shardingsphere;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.BeanUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@MapperScan("com.cnciems.shardingsphere.*")
@SpringBootApplication
public class ShardingsphereApplication {

    public static void main(String[] args) {

        //变更配置文件读取位置启动
//        new SpringApplicationBuilder(ShardingsphereApplication.class)
//                .properties("spring.config.location=classpath:/bootstrap.properties").run(args);
        SpringApplication.run(ShardingsphereApplication.class, args);
    }

}
